<template lang="">
    <div class="auditing">
        <Breadcrumb/>
        <div class="main">
            <div>
                订单合同:
                <el-button @click="look">查看合同</el-button>
            </div>
            <!-- 弹框展示pdf内容 -->
            <Vuepdf :dialogVisible="dialogVisible" @changeDialog="changeDialog"/>
        </div>
    </div>
</template>
<script>
import Vuepdf from './Vuepdf.vue';

export default {
    components: {
        Vuepdf,
    },
    data() {
        return {
            dialogVisible: false
        }
    },
    methods: {
        look() {
            this.dialogVisible = true;
        },
        changeDialog() {
            this.dialogVisible = false;
        }
    }
}
</script>
<style lang="less"scoped>
    .auditing {
  margin: 10px;

  .main {
    background: #fff;
    padding: 20px;
    margin-top: 20px;
  }
}
</style>